package com.ww.disruptor.factory;

import com.lmax.disruptor.EventFactory;
import com.ww.disruptor.event.ProductEvent;

/**
 * 事件工厂
 */
public class ProductEventFactory implements EventFactory<ProductEvent> {

    @Override
    public ProductEvent newInstance() {
        return new ProductEvent();
    }
}
